/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.singlleresponsibilityprin.model.obey;


/**
 *
 * @author user
 */
public class ModemImplement implements ConnectionInterface,DataChannelInterface {

     @Override
    public void dial(String phoneNumber) {
        phoneNumber = phoneNumber;
    }

    @Override
    public void hangup() {
        System.out.println("Call Hang Up!!");
    }

    @Override
    public void sent(String snt) {
        System.out.println("Sent nomber "+ snt);
        }

    @Override
    public String reciver(String rec) {
        return rec = rec;
    }

    
    
}
